package com.lzh.chatnote.chat.domain.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class MessageExtra implements Serializable {

    @ApiModelProperty("被@的用户id列表")
    private List<Long> atUids;

    @ApiModelProperty("被回复的消息id")
    private Long replyMsgId;


    //各种文件类型可以保存
}
